package com.roger.myHome.importExcel;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 开票回款类映射数据库表
 * </p>
 *
 * @author yulei
 * @since 2024-04-30
 */
@Data
@TableName("tb_invoice_payment")
public class InvoicePaymentDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("id")
    private Long id;

    /**
     * 合同id
     */
    @TableField("contract_id")
    private Integer contractId;

    /**
     * 结算ID
     */
    @TableField("settlement_id")
    private Long settlementId;

    /**
     * 开票id
     */
    @TableField("invoice_id")
    private Long invoiceId;

    /**
     * 合同回款计划id
     */
    @TableField("tb_contract_remit_id")
    private Integer tbContractRemitId;

    /**
     * 结算单回款ID
     */
    @TableField("settlement_remit_id")
    private Long settlementRemitId;

    /**
     * 回款计划序号
     */
    @TableField("serial_no")
    private String serialNo;

    /**
     * 已开票金额（ 截止当前时间为止）
     */
    @TableField("invoiced_money")
    private BigDecimal invoicedMoney;

    /**
     * 本次开票金额
     */
    @TableField("invoice_money")
    private BigDecimal invoiceMoney;

    @TableField("import_time")
    private Date importTime;

}
